package day9;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileWriterTest {
    public static void main(String[] args) {
        try {
            Writer w=new FileWriter("E:/temp/1.txt",true);
            w.write('');//换行
            w.write(21016);
            w.write('李');
            w.write("大扎好，我是渣渣灰");
            w.close();//隐患不管了。。。
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
